package com.pig4cloud.pigx.contract.websocket.message;

import com.pig4cloud.pigx.common.websocket.message.AbstractJsonWebSocketMessage;
import com.pig4cloud.pigx.contract.dto.AppContractCurrentStopOrderConditionDTO;

/**
 * app当前止盈止损委托
 *
 * @date 2022/8/26 16:47
 */
public class AppContractCurrentStopOrderWebsocketMessage extends AbstractJsonWebSocketMessage {
	/**
	 * 前端请求时会携带type，根据type匹配处理器
	 */
	public static final String TYPE = "appCurrentStopOrder";

	public AppContractCurrentStopOrderConditionDTO getData() {
		return data;
	}

	public void setData(AppContractCurrentStopOrderConditionDTO data) {
		this.data = data;
	}

	private AppContractCurrentStopOrderConditionDTO data;

	public AppContractCurrentStopOrderWebsocketMessage() {
		super(TYPE);
	}

}
